<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>{#$pageValue.title#}{#$meta.title#}</title>
        <meta name="keywords" content="{#$meta.keywords#}" />
        <meta name="description" content="{#$meta.description#}" />
        {#foreach from=$pageoptions.metas item=v#}
        <meta  {#foreach from=$v item=v2 key=k2#} {#$k2#}="{#$v2#}" {#/foreach#} />
            {#/foreach#}

            <link rel="stylesheet" href="/css/global.css" />
        <link rel="stylesheet" href="/css/style.css" />
        <link rel="shortcut icon" href="/favicon.ico" />
        <link rel="icon" href="/animated_favicon.gif" type="image/gif" />
        <link rel="apple-touch-icon" href="/favicon_apple.png"/>
        <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>

        <script type="text/javascript" src="/js/main.js?123456"></script>
        <script type="text/javascript" src="/js/validate.js"></script>

<!--[if lt IE 9]><script src="js/html5.js"></script><![endif]-->
        {#foreach from=$pageoptions.csses item=v key=k#}
        <link rel="stylesheet" type="text/css" href="/css/{#$v#}.css" />
        {#/foreach#}
        {#foreach from=$pageoptions.jses item=v key=k#}
        <script type="text/javascript" src="/js/{#$v#}.js"></script>
        {#/foreach#}
        <!--[if lt IE 9]><script src="js/html5.js"></script><![endif]-->

        <script type="text/javascript">
            <!--
            var _gaq = _gaq || [];

            _gaq.push(
            ['_setAccount', 'UA-15204427-22'],
            ['_setCustomVar', 1, 'Section', 'imore_trial', 3],
            ['_trackPageview']
        );


            (function() {
                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
            })();
            -->
        </script>
        <script>

            $(document).ready(function(){
                memberBar();
            });
            function memberBar(){
                $.ajax({

                    url : '/member.php?action=ajax_memberBar&url='+encodeURIComponent(document.location.href),
                    {#php#}
                    $action=$_GET['action'];
                    if($action=="reg" || $action=="login" || $action=="loginFNB") echo "url : '/member.php?action=ajax_memberBar&url=index',";
                    {#/php#}
                    type : 'POST',
                    dataType : 'html',
                    success: function(html){
                        var Template = html;
                        $("#topmember").html(html);
                    }
                });
            }

            function tag_in(t){
                $("#tag"+t).attr('v',1);
                $('[s='+t+']').show();
                $("#tagg"+t).attr("class","curr m m"+(t+1));
            }
            function tag_out(t){
                $("#tag"+t).attr('v',0);
                setTimeout("tag_c("+t+")",200);
                if(t==1){
                    {#if !$curr2#}$("#tagg"+t).attr("class","m m"+(t+1));{#/if#}
                }else if(t==2){
                    {#if !$curr3#}$("#tagg"+t).attr("class","m m"+(t+1));{#/if#}
                }
            }
            function tag_c(t){
                if(parseInt($("#tag"+t).attr('v'))==0){
                    $('[s='+t+']').fadeOut('fast');
                }
            }
        </script>

    <body>
        <div class="warp">
            <header class="header">
                <div class="inner_header">
                    <div class="hd" id="topmember">

                    </div>
                    <div class="bd clearfix">
                        <a href="/" class="logo fl"> <img src="/images/logo.png" alt="logo" /> </a>
                        <div class="top_banner fr">
                            <script type='text/javascript'><!--//<![CDATA[
                                var m3_u = (location.protocol=='https:'?'https://ads.nmg.com.hk/www/delivery/ajs.php':'http://ads.nmg.com.hk/www/delivery/ajs.php');
                                var m3_r = Math.floor(Math.random()*99999999999);
                                if (!document.MAX_used) document.MAX_used = ',';
                                document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
                                document.write ("?zoneid=432");
                                document.write ('&amp;cb=' + m3_r);
                                if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
                                document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
                                document.write ("&amp;loc=" + escape(window.location));
                                if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
                                if (document.context) document.write ("&context=" + escape(document.context));
                                if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
                                document.write ("'><\/scr"+"ipt>");
                                //]]>--></script><noscript><a href='http://ads.nmg.com.hk/www/delivery/ck.php?n=a8d65828&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads.nmg.com.hk/www/delivery/avw.php?zoneid=432&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a8d65828' border='0' alt='' /></a></noscript>
                        </div>
                    </div>
                    <nav class="nav">
                        <ul class="menu">
                            <li>
                                <a class="{#$curr1#} m m1" href="/"><strong>首頁</strong></a>
                            </li>
                            <!--<li id="tag1" v=0 onmouseover="tag_in(1)" onmouseout="tag_out(1)">
                                    <a class="{#$curr2#} m m2" href="product.php?action=invite_list&mtype=5" id=tagg1><strong>尊業體驗團</strong></a>
                                    <i class="sub_menu_tri" s=1 style="display:none;"></i>
                                    <ul class="sub_menu sub_menu_1" s=1 style="display:none;">
                                            <li class="sp_list"><a class="{#$curr6#} m m6" href="product.php?action=invite_list&mtype=5"><strong>體驗團邀請</strong></a></li>
                                            <li><a class="{#$curr7#} m m7" href="product.php?action=submitReport_list&mtype=5"><strong>提交報告</strong></a></li>
                                            <li class="sp_list"><a class="{#$curr8#} m m8" href="product.php?action=readReport_list&mtype=5"><strong>體驗團報告</strong></a></li>
                                    </ul>
                            </li>
                            <li id="tag2" v=0 onmouseover="tag_in(2)" onmouseout="tag_out(2)">
                                    <a class="{#$curr3#} m m3" href="product.php?action=invite_list&mtype=1" id=tagg2><strong>試用專區</strong></a>
                                    <i class="sub_menu_tri" s=2 style="display:none;"></i>
                                    <ul class="sub_menu sub_menu_2" s=2 style="display:none;">
                                            <li><a class="{#$curr9#} m m9" href="product.php?action=invite_list&mtype=1"><strong>邀請試用</strong></a></li>
                                            <li><a class="{#$curr10#} m m10" href="product.php?action=submitReport_list&mtype=1"><strong>提交報告</strong></a></li>
                                            <li><a class="{#$curr11#} m m11" href="product.php?action=readReport_list&mtype=1"><strong>試用報告</strong></a></li>
                                    </ul>
                            </li>-->

                            <li class="m m2">
                                <span class="sub_t"><strong>尊業體驗團</strong></span>
                                <i class="sub_menu_tri" style="display:none;"></i>
                                <ul class="sub_menu sub_menu_1">
                                    <li><a class="{#$curr6#} m m6" href="{#optimize_url('product', 'invite_list','mtype=5')#}"><strong>體驗團邀請</strong></a></li>
                                    <li><a class="{#$curr7#} m m7" href="{#optimize_url('product', 'submitReport_list','mtype=5')#}"><strong>提交報告</strong></a></li>
                                    <li><a class="{#$curr8#} m m8" href="{#optimize_url('product', 'readReport_list','mtype=5')#}"><strong>體驗團報告</strong></a></li>
                                </ul>
                            </li>
                            <li class="m m3">
                                <span class="sub_t"><strong>試用專區</strong></span>
                                <i class="sub_menu_tri" style="display:none;"></i>
                                <ul class="sub_menu sub_menu_2" >
                                    <li><a class="{#$curr9#} m m9" href="{#optimize_url('product', 'invite_list','mtype=1')#}"><strong>邀請試用</strong></a></li>
                                    <li><a class="{#$curr10#} m m10" href="{#optimize_url('product', 'submitReport_list','mtype=1')#}"><strong>提交報告</strong></a></li>
                                    <li><a class="{#$curr11#} m m11" href="{#optimize_url('product', 'readReport_list','mtype=1')#}"><strong>試用報告</strong></a></li>
                                </ul>
                            </li>
                            <li>
                                <a class="{#$curr4#} m m4" href="{#optimize_url('events', 'invite_list')#}"><strong>活動事件</strong></a>
                            </li>
                            <li>
                                <a class="{#$curr5#} m m5" href="{#optimize_url('help', 'show')#}"><strong>新手教程</strong></a>
                            </li>
                        </ul>
                    </nav>
                </div>
            </header>
